package guyubao.com.entity.vo.request;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;

/***
 * 重置密码：确认邮箱
 * @author wxa
 */
@Data
@AllArgsConstructor
@Schema(description = "重置密码：确认邮箱")
public class ConfirmResetVoRequest {
    @Email
    String email;
    @Length(min=6,max=6)
    String code;
}
